package org.shagin.jfin.model.event;

import java.util.EventObject;

import org.shagin.jfin.data.model.IBudget;

/**
 * The Class BudgetEvent.
 */
public class BudgetEvent extends EventObject {

    private static final long serialVersionUID = -6102395914323652019L;

    /**
     * Instantiates a new budget event.
     *
     * @param source the source
     */
    public BudgetEvent(IBudget source) {
        super(source);
    }

    /**
     * Gets the budget.
     *
     * @return the budget
     */
    public IBudget getBudget() {
        return (IBudget) getSource();
    }
}
